package com.oracleoaec.dao;

import com.oracleoaec.entity.User;

public interface UserDao {
	//登陆
	 User login(User user);
	
	//按照名字查询用户
	 User queryByName(String username);
	 
	//注册
	int insert(User user);
	
	User queryById(long id);
	
}
